package com.chengyu.core.mapper;

import com.chengyu.core.model.CommonPayOrder;
import com.chengyu.core.model.CommonPayOrderExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CommonPayOrderMapper {
    long countByExample(CommonPayOrderExample example);

    int deleteByExample(CommonPayOrderExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CommonPayOrder record);

    int insertSelective(CommonPayOrder record);

    List<CommonPayOrder> selectByExample(CommonPayOrderExample example);

    CommonPayOrder selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CommonPayOrder record, @Param("example") CommonPayOrderExample example);

    int updateByExample(@Param("record") CommonPayOrder record, @Param("example") CommonPayOrderExample example);

    int updateByPrimaryKeySelective(CommonPayOrder record);

    int updateByPrimaryKey(CommonPayOrder record);
}
